import { Module } from '@nestjs/common';
import { EventController} from '../../controller/event/event.controller';
import { EventService } from '../../service/event.service';
import {TypeOrmModule} from "@nestjs/typeorm";
import {EventCategoryEntity} from "../../entity/event.category.entity";
import {EventTypeEntity} from "../../entity/event.type.entity";

@Module({
    imports: [
        TypeOrmModule.forFeature([EventCategoryEntity, EventTypeEntity]),
    ],
    providers: [EventService],
    controllers: [EventController]
})
export class EventModule {}
